﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.EXCERCISES.EXCERCISE_02
{
    class Toyota2: Toyota
    {
        bool DenSuongMu, GuongDieuKhien, ChiaKhoaThongMinh;

        public bool CHIAKHOA
        {
            get { return ChiaKhoaThongMinh; }
            set { ChiaKhoaThongMinh = value; }
        }

        public bool GUONGDIEUKHIEN
        {
            get { return GuongDieuKhien; }
            set { GuongDieuKhien = value; }
        }

        public bool DENSUONGMU
        {
            get { return DenSuongMu; }
            set { DenSuongMu = value; }
        }
       public Toyota2(string Vanhduc, string denpha, string cangat, string xylanh, string tieuthu ,string nongdokhithai, bool dieuhoa, bool guongdieukhien, bool chiakhoathongminh, bool densuongmu): base(Vanhduc, denpha, cangat, xylanh, tieuthu , nongdokhithai, dieuhoa)
        {
            GuongDieuKhien = guongdieukhien;
            ChiaKhoaThongMinh = chiakhoathongminh;
            DenSuongMu = densuongmu;
        }
    }
}
